package com.longcai.entity.messagepush;

import java.time.LocalDateTime;
import java.util.List;

import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 平台管理---消息推送表
 * </p>
 *
 * @author kh
 * @since 2019-05-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class ClyjMessagePush implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 消息推送id
     */
    private String messagePushId;
    /**
     * 微信模板id
     */
    private String wxFormworkId;
   
    /**
     * 推送标题
     */
    private String messageTitle;
    
    /**
     * 推送用户(0会员,1,导购 2,讲师 3,经理, 4 商家)
     * 前台数字接收list
     */
    @TableField(exist = false)
    private List<String> pushUserTypeList;
    
    /**
     * 推送用户(0会员,1,导购 2,讲师 3,经理, 4 商家)
     */
    private String pushUserType;
    /**
     * 省id
     */
    private String provincesId;
    /**
     * 市id
     */
    private String citiesId;
    /**
     * 区县Id
     */
    private String countiesId;
    /**
     * 推送时间
     */
    private LocalDateTime pushTime;
    /**
     * (0,已发送 1，草稿)
     */
    private String state;
    
    /**
     * 创建人
     */
    private String creater;
    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 发送内容
     */
    private String content;  
    
    @TableField(exist = false)
    private LocalDateTime leftTime;
    @TableField(exist = false)
    private LocalDateTime rightTime;
    /**type 0 立即推送      1保存为草稿**/
    @TableField(exist = false)
    private String type;
    /****
    *微信模板详情列表
     */
    @TableField(exist = false) 
    private List<ClyjMessagePushFormwordDesc> clyjMessagePushFormwordDescList;
}
